@import "comm.less";
html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  padding:0;
  margin:0;
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: darkgrey;
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}
:where(.css-dev-only-do-not-override-193vqqx).ant-tooltip .ant-tooltip-inner {
  color:#333;
  padding:20px;
  font-size:12px;
}
.ant-progress-inner{
  border-radius: 4px;
}
.ant-progress-bg{
  height:4px;
}
:where(.css-dev-only-do-not-override-193vqqx).ant-card .ant-card-body{
  padding:12px;
}

.success-btn{
  color: #fff;
  background-color: @success_color;
  border-color: @success_color;
}
.success-btn:hover {
  color: #fff!important;
  background-color: @success_color!important;
  border-color: @success_color!important;
}
.success-btn[disabled], .success-btn[disabled]:hover, .success-btn[disabled]:focus, .success-btn[disabled]:active {
  color: rgba(0, 0, 0, 0.25);
  background: #f5f5f5!important;
  border-color: #d9d9d9!important;
  text-shadow: none;
  box-shadow: none;
}

.default-btn-nobg{
  color:@main_color;
}
.error-btn-nobg{
  color:@error_color;
}

